package com.nuoniu.sibanyun.entity.crm.call;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 客户管理-外呼套餐
 * </p>
 *
 * @author 白强
 * @since 2022-05-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("crm_call_base_setting")
@ApiModel(value="CrmCallBaseSetting对象", description="客户管理-外呼套餐")
public class CrmCallBaseSetting extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "套餐名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "月低费（元/月）")
    @TableField("base_charges")
    private BigDecimal baseCharges;

    @ApiModelProperty(value = "固定分钟数")
    @TableField("base_minutes")
    private Integer baseMinutes;

    @ApiModelProperty(value = "超出部分费率(元/分钟)")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty(value = "状态 0：未开启 1：已开启  2.暂停")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "启用时间")
    @TableField("enable_date")
    private LocalDateTime enableDate;


}
